function InitNewInfo() {
    this.localPath="";
    this.dbConn="";
};

function PackageInfo(panme) {
    this.oid="";
    this.name = panme;
    this.createdate=0;
    this.state = 0;
};

function FormInfo(fname,type,pid,createuserid) {

    this.oid;
    this.name = fname;
    this.type = type;
    this.packid = pid;
    this.styledata="";
    this.createtime;
    this.createuserid = createuserid;
    this.state;
    this.lock;
};

function SqlFieldConfig() {
	this.fieldName;
	this.fieldType;
	this.primaryKey;
	this.fieldIndex;
};

function ReqMDTable() {
	this.packid;
	this.formid;
	this.parentid;
	this.tablename;
	this.sheetname;
	this.oid;
	//主表 or 明细表, 0 是主表, 1 是明细表
	this.tabletype;
	this.fieldArr = new Array(); //sqlconfigfield map
}

function ReqResTableData() {
	this.tableArr = new Array();
}

	
function TableData() {
		this.packid;
		this.formid;
		this.tableid;
		this.SName;
		this.userid;
		this.oid;
		this.dataList = new Array(); //2d arr
}


